﻿<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
    CodeBehind="Default.aspx.vb" Inherits="kitchenCompetition._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <table width="100%">
        <tr>
            <td class="lw">
                Welcome to Recipe Competition
            </td>
        </tr>
        <tr>
            <td align="left">
                <h2>
                    <table width="100%" style="background-color: gray">
                        <tr>
                            <td>
                                <h1>
                                    Idea of the website</h1>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Biryani is special dish of the Karachi city. So Biryani recipe competition particular
                                target those people who can cook Biryani well and those who can eat Biryani most.
                            </td>
                        </tr>
                        <tr>
                            <td>
                                There are many way to cook Biryani
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Targeting the community which is belongs to Karachi. Different types of Biryani
                                which are specially cook in Karachi as follows.
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <ul>
                                    <li>Palaoo Biryani</li>
                                    <li>Chicken Biryani</li>
                                    <li>Sindhi Biryani (Sind is province of Karachi)</li>
                                    <li>Karachi Biryani</li>
                                    <li>Sajji Biryani</li>
                                </ul>
                            </td>
                        </tr>
                    </table>
                </h2>
            </td>
        </tr>
        <tr>
            <td class="item_descAddHeading">
                Top three recipes
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <tr>
                        <asp:Repeater ID="rpRecipe" runat="server">
                            <ItemTemplate>
                                <td valign="top">
                                    <table>
                                        <tr valign="top">
                                            <td class="item_descAddHeading">
                                                <%#Eval("RecipeName")%>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td class="item_descAddHeading">
                                                <asp:Image ID="Image1" Width="300px" Height="300px" ImageUrl='<%#Eval("Pic")%>' runat="server" />
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td class="item_desc">
                                                Reciepe:
                                                <%# Limit(Eval("Recipe"), 50)%>
                                                <a href="Recipe.aspx?Id=<%#Eval("Id")%>">read more....</a>
                                            </td>
                                        </tr>
                                        <tr valign="top">
                                            <td class="item_desc">
                                                <a href='Recipe.aspx?Id=<%#Eval("Id")%>'>Rate your recipe</a>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </ItemTemplate>
                        </asp:Repeater>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="left">
                <h1>List of top contributors</h1>
            </td>
        </tr>
        <tr>
            <td align="left">If you want to see you email add please add more than five different Biryani Recipes your name will be show here also <br />
                we will create a seperate page for you.
            </td>
        </tr>
        <tr>
            <td align="left">
                <table>
                    
                        <asp:Repeater ID="repTopcontributor" runat="server">
                            <ItemTemplate>
                            <tr>
                                <td><h1> <a href='topcontributor.aspx?Email=<%# Eval("Email")%>'> <%# Eval("Email")%></a></h2>
                                </td>
                                </tr>
                            </ItemTemplate>
                            
                        </asp:Repeater>
                    
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
